public interface SelfSerializable
Serializable is! However this interface is meant to create its instance programmatically via constructor!
So condition of using this is that array of objects returned by serialize() must be applicable for some public constructor of certain class implementing this!
Specific instances of this interface will be created by calling that public constructor! This is done reflectively by SelfSerializableProtocol!| Modifier and Type | Method and Description |
|---|---|
java.lang.Object[] |
serialize() |